﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace My.Core.Model.ViewModel
{
    public enum SumityTypeEnum
    {
        None = 0,
        Add = 1,
        Update=2,
        Show=3,
        Delete = 4
    }
    public class CreateFrameworkModuleAction
    {
       /// <summary>
       /// 操作项
       /// </summary>
        public SumityTypeEnum SumityType { get; set; }
        /// <summary>
        /// 菜单链接地址 路由
        /// </summary>
        [Display(Name = "菜单链接地址", Description = "")]

        public string LinkUrl { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        [Display(Name = "角色", Description = "")]

        public  int  RoleId { get; set; }

    }
}
